package utility;


public class CapitalChar 
{
	static public String makeFirstCharCapital(String name)
	{
		System.out.println("utility::CapitalChar::makeFirstCharCapital():: Name :"+name);
		StringBuffer str = new StringBuffer();
		str.append(name.substring(0,1).toUpperCase());
		str.append(name.substring(1,name.length()).toLowerCase());
		return str.toString();
	}
	
	public static void main(String hmt[])
	{
		System.out.println(CapitalChar.makeFirstCharCapital("maSter"));
	}
}
